import { Icon, Image } from 'vant'
import type { App } from 'vue'

const components: any[] = [Image, Icon]

export default function (app: App): void {
  for (const index in components) {
    const component = components[index]

    app.component(component.name, component)
  }
}
